package com.sky.es.dto;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
public class CommentDTO {

    @Field(type = FieldType.Keyword)
    private String commentId;
    @Field(type = FieldType.Text)
    private String commentContent;
    @Field(type = FieldType.Keyword)
    private String commentAuthor;
}
